home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1993 December / PSL Monthly Shareware CD-ROM (December 1993).iso / prgmming / dos / pascal / umbheap.exe / UMB_HEAP.TXT < prev   
Text File  |  1992-03-05  |  2KB  |  51 lines

  1.  
  2.                            UMB_HEAP.DOC
  3.                   Documentation for UMB_HEAP.TPU
  4.          (C) Copyright 1992, Brian D. Webb & P-Machinery
  5.                  Release 1.3, March 5, 1992
  6.  
  7.  
  8. UMB_HEAP is a programing tool for extending the Turbo Pascal 6.0
  9. dynamic heap into Upper Memory Blocks (UMB).  By using UMB_HEAP,
  10. you can give your programs up to 200K more RAM to work with.
  11.  
  12. Making the UMB's available for heap space allows your programs more
  13. conventional memory to work with.  For each kilobyte of heap space
  14. you move into upper memory, you increase the memory available for
  15. code and overlays by the same amount.
  16.  
  17. To use UMB_HEAP, just include the unit UMB_HEAP in the USES clause
  18. of your main program and call the procedure EXTEND_HEAP.  Assuming
  19. that your system has an XMS memory manager like QEMM386 or EMM386,
  20. all available UMB's will be added to the TP6 heap.
  21.  
  22. When using debuggers, the UMB's may not have a chance to be deallocated
  23. properly.  To address this problem, I have included a Boolean variable
  24. called UMB_HEAP_DEBUG which forces UMB_HEAP to deallocate UMB's
  25. immediately after allocating them while still retaining UMB address
  26. and size information.  As long as your program does not manipulate
  27. upper memory, this strategy works.  Set UMB_HEAP_DEBUG to TRUE while
  28. debugging, overwise set it to FALSE.  It's default value is FALSE.
  29.  
  30. The only reason this release doesn't contain the source code to
  31. UMB_HEAP is because I'm waiting to see if anyone is really
  32. interested in it.  If so, then I will prepare some decent
  33. documentation and include the complete source code.
  34.  
  35. UMB_HEAP is shareware.  If you like it, please send $10 to the
  36. address below.  This will register you for non-commercial use of
  37. this tool and entitle you to ALL future versions of it.
  38.  
  39.  
  40. Please forward comments and suggestions to:
  41.  
  42.      Brian D. Webb
  43.      CompuServe [76436,1131]
  44.  
  45.  
  46. Send registration fees to: (including your name and address)
  47.  
  48.      Brian D. Webb
  49.      3700 Garth Road #1408
  50.      Baytown, TX 77521
  51.